<!DOCTYPE html>
<html>
<header>
  <meta charset="utf-8" />
  <title>测试IE背景图片</title>
  <style type="text/css">
    .bg{
      width:100%;
      height:100%;
      background:url(./src/img/loginbg.png) top center no-repeat;
      background-size:100% 105%;
      background-position:0 -5%;
      background-color: rgba(255,255,255,0.3);
    }
    /*.bg:after{
      display:block;clear:both;content:"";visibility:hidden;height:0
    }
    div{
      float:left;
    }*/
  </style>
</header>
<body>
<!-- <div style="width:800px;height:800px;background-color:#000;">

</div> -->
<!-- <div style="100%;heigth:100%;">
  <img src="src/img/8.jpg" style="width:100%;height:100%;"/>
</div> -->
<div class="bg">
  <div >
  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br />
  ++++<br />
  ++++<br />
  ++++<br />
  </div>
</div>

</body>
</html>
